package org.redis.cluster.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class PropertiesUtil {

	/**
	 * 读取
	 * @param input
	 * @return
	 * @throws IOException 
	 */
	public static Properties read(InputStream input) throws IOException {
		Properties properties=new Properties();
		properties.load(input);
		return properties;
	}
}